package com.zzyl.controller;


import cn.hutool.core.date.LocalDateTimeUtil;
import org.springframework.scheduling.annotation.Scheduled;

import java.time.LocalDateTime;

//@Component
public class DemoTesk {

    @Scheduled(cron = "0/1 27 11 * * 5#3")
    public void testScheduled(){
        System.out.println(LocalDateTimeUtil.format(LocalDateTime.now(),"yyyy-MM-dd HH:mm:ss"));

    }
}
